﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<KaoWuYou.Models.RegisterModel>" %>

<asp:Content ID="Content" ContentPlaceHolderID="MainContent" runat="server">

    <div class="columnsLogin">
        <div class="pageTitle">
            <h1>用户注册</h1>
        </div>
        <div id="columnLoginA">
            <% using(Html.BeginForm()) 
            { %>
                <p class="title">
                    <label>您的用户名</label>
                </p>
                <p class="title">
                    <%: Html.TextBoxFor(m => m.AccountName) %>
                </p>
                <p class="title">
                    <label>您的密码</label>
                </p>
                <p class="title">
                    <%: Html.PasswordFor(m => m.Password) %>
                </p>
                <p class="title">
                    <label>请再次确认密码</label>
                </p>
                <p class="title">
                    <%: Html.PasswordFor(m => m.ConfirmPassword)%>
                </p>
                <p class="title">
                    <label>您的姓名</label>
                </p>
                <p class="title">
                    <%: Html.TextBoxFor(m => m.Name)%>
                </p>
                <p class="title">
                    <label>您的联系电话</label>
                </p>
                <p class="title">
                    <%: Html.TextBoxFor(m => m.Tel)%>
                </p>
                <p class="title">
                    <label>您的电子邮箱地址</label>
                </p>
                <p class="title">
                    <%: Html.TextBoxFor(m => m.Email)%>
                </p>
                <p class="title">
                    <label>您的性别</label>
                </p>
                <p class="title">
                    <%: Html.RadioButtonFor(m => m.Gender, "男") %> 男
                    <%: Html.RadioButtonFor(m => m.Gender, "女") %> 女
                </p>
                <input class="inputBtn" type="submit" value="注册" />
         <% } %>
        </div>
    </div>
</asp:Content>